﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cinema.Model
{
    class Movie
    {
        //vars
        private String category;
        private String title;
        private int duration;
        private List<String> reviews;
        private int year;
        private int rating;
        private List<Projection> projections;
        //vars

        //constructor
        public Movie(String title, int duration, int year)
        {
            this.title = title;
            this.duration = duration;
            this.year = year;
        }
        //constructor

        public String Category
        {
            get { return category; }
            set { category = value; }
        }

        public String Title
        {
            get { return title; }
            set { title = value; }
        }

        public int Duration
        {
            get { return duration; }
            set { duration = value; }
        }

        public int Year
        {
            get { return year; }
            set { year = value; }
        }

        public int Rating
        {
            get { return rating; }
            set { rating = value; }
        }
    }

}
